@import '~styles/theme.styl'

cleanDefaultStyle()
  appearance none
  border none
  outline none

btn(c, border = false)
  padding 0 10px
  background-origin 5px
  cursor pointer
  cleanDefaultStyle()
  border none

  if (border == true)
    border 1px solid c
  else
    background-color C
    color #fff

primaryBtn()
  btn($lightred)

primaryBorderBtn()
  btn($lightred, true)

infoBtn()
  btn($green)